]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenshot: Remove leftover code in property getter
authorJonas Dreßler <verdre@v0yd.nl>
Wed, 26 Apr 2023 17:31:53 +0000 (19:31 +0200)
committerJonas Dreßler <verdre@v0yd.nl>
Wed, 26 Apr 2023 17:31:53 +0000 (19:31 +0200)
According to Ivan (author of that piece of code), this is most likely a
leftover from a refactor and has no purpose anymore, so remove it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2753>

js/ui/screenshot.js

index fa67ff2d7ce1ee5003b8b648bfedceb08d263850..91c9635e7d121e9436623977df7a08605374c06b 100644 (file)
@@ -1980,9 +1980,6 @@ var ScreenshotUI = GObject.registerClass({
     }
 
     get screencast_in_progress() {
-        if (!('_screencastInProgress' in this))
-            return false;
-
         return this._screencastInProgress;
     }